package com.hb.software.worker.dao;

import com.hb.software.dao.BaseDao;
import com.hb.software.entity.worker.Task;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskDao extends BaseDao<Task, Long> {
    /**
     * @param name
     * @return list
     */
    List<Task> findByName(String name);

    /**
     * @param status
     * @return list
     */
    List<Task> findByStatus(String status);

}
